<?php

	umask(0);
	$dbg = fopen("/tmp/debug.log","w");
	fwrite($dbg, print_r($_ENV,1));
	
	if(!file_exists("/Users/".$_ENV["USER"]."/Library/Caches/com.tegosaurus.appletvdatamaker")){
		mkdir("/Users/".$_ENV["USER"]."/Library/Caches/com.tegosaurus.appletvdatamaker");
	}
	if(!file_exists("/Users/".$_ENV["USER"]."/Library/Caches/com.tegosaurus.appletvdatamaker/imp")){
		mkdir("/Users/".$_ENV["USER"]."/Library/Caches/com.tegosaurus.appletvdatamaker/imp");
	}
	
	exit;

?>